package com.gxuc.runfast.bean;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: lijin
 * @date: 2018年04月14日
 */
public class Shopper implements Serializable {

    private Integer id;

    private Date createTime;

    private Integer creditRating;

    private String distribution;

    private Integer distributionmun;

    private Date endTime;

    private String munber;

    private String name;

    private String password;

    private Date startTime;

    private String userName;

    private String worktoday;

    private String latitude;

    private String longitude;

    private BigDecimal interimremainder;

    private BigDecimal minmonety;

    private BigDecimal remainder;

    private String bdchannelId;

    private String bduserId;

    private Integer bptype;

    private Integer creditLevelid;

    private Integer agentId;

    private String agentName;

    private Integer working;

    private Integer status;

    private String otherId;

    private Integer pushType;

    private Integer teamid;

    private String teamname;

    private Double distance;

    private String alias;

    private BigDecimal coefficient;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public Shopper withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Shopper withCreateTime(Date createTime) {
        this.setCreateTime(createTime);
        return this;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreditRating() {
        return creditRating;
    }

    public Shopper withCreditRating(Integer creditRating) {
        this.setCreditRating(creditRating);
        return this;
    }

    public void setCreditRating(Integer creditRating) {
        this.creditRating = creditRating;
    }

    public String getDistribution() {
        return distribution;
    }

    public Shopper withDistribution(String distribution) {
        this.setDistribution(distribution);
        return this;
    }

    public void setDistribution(String distribution) {
        this.distribution = distribution == null ? null : distribution.trim();
    }

    public Integer getDistributionmun() {
        return distributionmun;
    }

    public Shopper withDistributionmun(Integer distributionmun) {
        this.setDistributionmun(distributionmun);
        return this;
    }

    public void setDistributionmun(Integer distributionmun) {
        this.distributionmun = distributionmun;
    }

    public Date getEndTime() {
        return endTime;
    }

    public Shopper withEndTime(Date endTime) {
        this.setEndTime(endTime);
        return this;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getMunber() {
        return munber;
    }

    public Shopper withMunber(String munber) {
        this.setMunber(munber);
        return this;
    }

    public void setMunber(String munber) {
        this.munber = munber == null ? null : munber.trim();
    }

    public String getName() {
        return name;
    }

    public Shopper withName(String name) {
        this.setName(name);
        return this;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public Shopper withPassword(String password) {
        this.setPassword(password);
        return this;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public Shopper withStartTime(Date startTime) {
        this.setStartTime(startTime);
        return this;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getUserName() {
        return userName;
    }

    public Shopper withUserName(String userName) {
        this.setUserName(userName);
        return this;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getWorktoday() {
        return worktoday;
    }

    public Shopper withWorktoday(String worktoday) {
        this.setWorktoday(worktoday);
        return this;
    }

    public void setWorktoday(String worktoday) {
        this.worktoday = worktoday == null ? null : worktoday.trim();
    }

    public String getLatitude() {
        return latitude;
    }

    public Shopper withLatitude(String latitude) {
        this.setLatitude(latitude);
        return this;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude == null ? null : latitude.trim();
    }

    public String getIntegeritude() {
        return longitude;
    }

    public Shopper withIntegeritude(String longitude) {
        this.setIntegeritude(longitude);
        return this;
    }

    public void setIntegeritude(String longitude) {
        this.longitude = longitude == null ? null : longitude.trim();
    }

    public BigDecimal getInterimremainder() {
        return interimremainder;
    }

    public Shopper withInterimremainder(BigDecimal interimremainder) {
        this.setInterimremainder(interimremainder);
        return this;
    }

    public void setInterimremainder(BigDecimal interimremainder) {
        this.interimremainder = interimremainder;
    }

    public BigDecimal getMinmonety() {
        return minmonety;
    }

    public Shopper withMinmonety(BigDecimal minmonety) {
        this.setMinmonety(minmonety);
        return this;
    }

    public void setMinmonety(BigDecimal minmonety) {
        this.minmonety = minmonety;
    }

    public BigDecimal getRemainder() {
        return remainder;
    }

    public Shopper withRemainder(BigDecimal remainder) {
        this.setRemainder(remainder);
        return this;
    }

    public void setRemainder(BigDecimal remainder) {
        this.remainder = remainder;
    }

    public String getBdchannelId() {
        return bdchannelId;
    }

    public Shopper withBdchannelId(String bdchannelId) {
        this.setBdchannelId(bdchannelId);
        return this;
    }

    public void setBdchannelId(String bdchannelId) {
        this.bdchannelId = bdchannelId == null ? null : bdchannelId.trim();
    }

    public String getBduserId() {
        return bduserId;
    }

    public Shopper withBduserId(String bduserId) {
        this.setBduserId(bduserId);
        return this;
    }

    public void setBduserId(String bduserId) {
        this.bduserId = bduserId == null ? null : bduserId.trim();
    }

    public Integer getBptype() {
        return bptype;
    }

    public Shopper withBptype(Integer bptype) {
        this.setBptype(bptype);
        return this;
    }

    public void setBptype(Integer bptype) {
        this.bptype = bptype;
    }

    public Integer getCreditLevelid() {
        return creditLevelid;
    }

    public Shopper withCreditLevelid(Integer creditLevelid) {
        this.setCreditLevelid(creditLevelid);
        return this;
    }

    public void setCreditLevelid(Integer creditLevelid) {
        this.creditLevelid = creditLevelid;
    }

    public Integer getAgentId() {
        return agentId;
    }

    public Shopper withAgentId(Integer agentId) {
        this.setAgentId(agentId);
        return this;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    public String getAgentName() {
        return agentName;
    }

    public Shopper withAgentName(String agentName) {
        this.setAgentName(agentName);
        return this;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName == null ? null : agentName.trim();
    }

    public Integer getWorking() {
        return working;
    }

    public Shopper withWorking(Integer working) {
        this.setWorking(working);
        return this;
    }

    public void setWorking(Integer working) {
        this.working = working;
    }

    public Integer getStatus() {
        return status;
    }

    public Shopper withStatus(Integer status) {
        this.setStatus(status);
        return this;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOtherId() {
        return otherId;
    }

    public Shopper withOtherId(String otherId) {
        this.setOtherId(otherId);
        return this;
    }

    public void setOtherId(String otherId) {
        this.otherId = otherId == null ? null : otherId.trim();
    }

    public Integer getPushType() {
        return pushType;
    }

    public Shopper withPushType(Integer pushType) {
        this.setPushType(pushType);
        return this;
    }

    public void setPushType(Integer pushType) {
        this.pushType = pushType;
    }

    public Integer getTeamid() {
        return teamid;
    }

    public Shopper withTeamid(Integer teamid) {
        this.setTeamid(teamid);
        return this;
    }

    public void setTeamid(Integer teamid) {
        this.teamid = teamid;
    }

    public String getTeamname() {
        return teamname;
    }

    public Shopper withTeamname(String teamname) {
        this.setTeamname(teamname);
        return this;
    }

    public void setTeamname(String teamname) {
        this.teamname = teamname == null ? null : teamname.trim();
    }

    public Double getDistance() {
        return distance;
    }

    public Shopper withDistance(Double distance) {
        this.setDistance(distance);
        return this;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public String getAlias() {
        return alias;
    }

    public Shopper withAlias(String alias) {
        this.setAlias(alias);
        return this;
    }

    public void setAlias(String alias) {
        this.alias = alias == null ? null : alias.trim();
    }

    public BigDecimal getCoefficient() {
        return coefficient;
    }

    public Shopper withCoefficient(BigDecimal coefficient) {
        this.setCoefficient(coefficient);
        return this;
    }

    public void setCoefficient(BigDecimal coefficient) {
        this.coefficient = coefficient;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", createTime=").append(createTime);
        sb.append(", creditRating=").append(creditRating);
        sb.append(", distribution=").append(distribution);
        sb.append(", distributionmun=").append(distributionmun);
        sb.append(", endTime=").append(endTime);
        sb.append(", munber=").append(munber);
        sb.append(", name=").append(name);
        sb.append(", password=").append(password);
        sb.append(", startTime=").append(startTime);
        sb.append(", userName=").append(userName);
        sb.append(", worktoday=").append(worktoday);
        sb.append(", latitude=").append(latitude);
        sb.append(", longitude=").append(longitude);
        sb.append(", interimremainder=").append(interimremainder);
        sb.append(", minmonety=").append(minmonety);
        sb.append(", remainder=").append(remainder);
        sb.append(", bdchannelId=").append(bdchannelId);
        sb.append(", bduserId=").append(bduserId);
        sb.append(", bptype=").append(bptype);
        sb.append(", creditLevelid=").append(creditLevelid);
        sb.append(", agentId=").append(agentId);
        sb.append(", agentName=").append(agentName);
        sb.append(", working=").append(working);
        sb.append(", status=").append(status);
        sb.append(", otherId=").append(otherId);
        sb.append(", pushType=").append(pushType);
        sb.append(", teamid=").append(teamid);
        sb.append(", teamname=").append(teamname);
        sb.append(", distance=").append(distance);
        sb.append(", alias=").append(alias);
        sb.append(", coefficient=").append(coefficient);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
